<template>
    <div>
        <div class="card-header">
            <span>{{title}}</span>
            <i class="el-icon-info"></i>
        </div>
        <div class="card-content">
            {{count}}
        </div>
        <div class="card-charts">
            <slot name="charts"></slot>
        </div>
        <div class="card-footer">
            <slot name="footer"></slot>
        </div>
    </div>
</template>
<script>
import { title } from '@/settings';

export default {
    name: '',
    props:["title","count"]
}
</script>
<style scoped>
    .card-header{
        display: flex;
        justify-content: space-between;
        color: #c7c7c7;
    }
    .card-content{
        font-size: 30px;
        padding: 20px 0;
    }
    .card-charts{
        height: 50px;
    }
    .card-footer{
        border-top: 1px solid #e4e4e4;
        padding-top: 15px;
    }
</style>
